package com.haima.ziliao.domain;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 研学推荐对象 p_yanxuetuijian
 * 
 * @author hima
 * @date 2024-12-22
 */
public class PYanxuetuijian implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 推荐类型 */
    @Excel(name = "推荐类型")
    private String type;

    /** 推荐内容 */
    @Excel(name = "推荐内容")
    private Long bid;

    /** 推荐图 */
    @Excel(name = "推荐图")
    private String pic;

    /** 所属地区 */
    @Excel(name = "所属地区")
    private String shi;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBid(Long bid) 
    {
        this.bid = bid;
    }

    public Long getBid() 
    {
        return bid;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setShi(String shi) 
    {
        this.shi = shi;
    }

    public String getShi() 
    {
        return shi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("type", getType())
            .append("bid", getBid())
            .append("pic", getPic())
            .append("shi", getShi())
            .toString();
    }
}
